<?php


namespace app\logic\model;


use think\Model;

class SettingModel extends Model
{
    protected $name='setting';
    function get_value($value,$id=1){
        return $this->where('id',$id)->value($value);
    }
}